package org.jeecg.modules.kc.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.business.entity.BusMarketMealCouponsUsed;
import org.jeecg.modules.business.mapper.BusMarketCouponsCashUsedMapper;
import org.jeecg.modules.kc.entity.KcSupplierInGoods;
import org.jeecg.modules.kc.mapper.KcSupplierInGoodsMapper;
import org.jeecg.modules.kc.service.IKcSupplierInGoodsService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: kc_supplier_in_goods
 * @Author: jeecg-boot
 * @Date:   2023-04-18
 * @Version: V1.0
 */
@Service
public class KcSupplierInGoodsServiceImpl extends ServiceImpl<KcSupplierInGoodsMapper, KcSupplierInGoods> implements IKcSupplierInGoodsService {

    @Resource
    private KcSupplierInGoodsMapper kcSupplierInGoodsMapper;

    public Page<KcSupplierInGoods> supplierInGoodsList(Page<KcSupplierInGoods> page, String hotelId, String goodsName, String goodsTypeId, String supplierId){
        return page.setRecords(kcSupplierInGoodsMapper.supplierInGoodsList(page, hotelId, goodsName,goodsTypeId,supplierId));
    }
}
